<table summary="" id="pagehead" cellpadding="0" cellspacing="0" border="0" width="100%">
	<tr>
		<td><h1>系统下单</h1></td>
		<td class="actions">
			<table summary="" cellpadding="0" cellspacing="0" border="0" align="right">
				<tr>
                	<td ><a href="?app=order&mod=systemsubmit">选择客户</a></td>
					<td class='active'><a href="#">选择约货人</a></td>
					<td><a href="#">选择商品</a></td>
                    <td><a href="#">查看购物车</a></td>
                    <td><a href="#">确认下单</a></td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<div class="edit_tab tab">
<div class="bg1">
<div class="bg2">
      <span rel="info" class="span_now">约货人列表</span>
</div>
</div>
</div>
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="table1">
       <tr>
            <th class="th0">编号</th>
            <th class="th1">约货人名称</th>
            <th class="th1">注册时间</th>
            <th class="th1">最后登陆时间</th>
            <th class="th1">最后登陆IP</th>
            <th class="th1">下单数量</th>
            <th class="th1">手机号</th>
            <th class="th0">操作</a>
       </tr>
       <?php foreach((array)$this->leaders as $leader): ?> 
       <tr>
            <td><?=$leader['leader_id']; ?></td>
            <td><?=$leader['realname']; ?></td>
            <td><?= date('Y-m-d H:i',$leader['created_time']); ?></td>
            <td><?=$leader['last_time'] ? date('Y-m-d H:i',$leader['last_time']) : '-'; ?></td>
            <td><?=$leader['last_ip'] ? long2ip($leader['last_ip']) : '-'; ?></td>
            <td><?=$leader['ordersum'];?></td>
            <td><?=$leader['mobile'];?></td>
            <td><?=opt('order','?app=order&mod=systemsubmit&step=3&lid='.$leader['leader_id']); ?></td>
       </tr>
       <?php endforeach; ?>
</table>
<div class="page_num">
     <div class="fl">
        <span style="color:red">第二步：请选择约货人进行下单。</span>
     </div>
     <div class="fr">
        <p class="cpager">
            <?php echo $this->pager; ?>
        </p>
     </div>
</div>